﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SouthKoreaCoffee.IOModel
{
    public class DigitalMsg
    {
        private static DigitalMsg instance;
        private DigitalMsg() { }
        public static DigitalMsg Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new DigitalMsg();
                }
                return instance;
            }
        }
        #region 输入数据
        /// <summary>
        /// 落杯1 开
        /// </summary>
        public string Drop_Cup_start { get; set; } = "01 05 00 0A FF 00 AC 38";// "01 05 00 00 FF 00 8C 3A ";//"01 05 00 04 FF 00 CD FB";
        /// <summary>
        ///落杯1 关
        /// </summary>
        public string Drop_Cup_end { get; set; } = "01 05 00 0A 00 00 ED C8";//"01 05 00 00 00 00 CD CA ";//"01 05 00 04 00 00 8C 0B";
        /// <summary>
        /// 落杯2 开
        /// </summary>
        public string Drop_Cup2_start { get; set; } = "01 05 00 01 FF 00 DD FA";// "01 05 00 05 FF 00 9C 3B";
        /// <summary>
        ///落杯2 关
        /// </summary>
        public string Drop_Cup2_end { get; set; } = "01 05 00 01 00 00 9C 0A";// "01 05 00 05 00 00 DD CB";
        /// <summary>
        /// 推杆上升开
        /// </summary>
        public string PushRod_UP_start { get; set; } = "01 05 00 02 FF 00 2D FA";
        /// <summary>
        /// 推杆上升关
        /// </summary>
        public string PushRod_UP_end { get; set; } = "01 05 00 02 00 00 6C 0A";
        /// <summary>
        /// 推杆下降开
        /// </summary>
        public string PushRod_Down_start { get; set; } = "01 05 00 03 FF 00 7C 3A";
        /// <summary>
        /// 推杆下降关
        /// </summary>
        public string PushRod_Down_end { get; set; } = "01 05 00 03 00 00 3D CA";
        /// <summary>
        /// 果糖泵1 开
        /// </summary>
        public string GT1_start { get; set; } = "01 05 00 04 FF 00 CD FB";// "01 05 00 06 FF 00 6C 3B";
        /// <summary>
        /// 果糖泵1 关
        /// </summary>
        public string GT1_end { get; set; } = "01 05 00 04 00 00 8C 0B";// "01 05 00 06 00 00 2D CB";
        /// <summary>
        /// 果糖泵2 开
        /// </summary>
        public string GT2_start { get; set; } = "01 05 00 05 FF 00 9C 3B";//"01 05 00 07 FF 00 3D FB";
        /// <summary>
        /// 果糖泵2 关
        /// </summary>
        public string GT2_end { get; set; } = "01 05 00 05 00 00 DD CB";// "01 05 00 07 00 00 7C 0B";
        /// <summary>
        /// 果糖泵3 开
        /// </summary>
        public string GT3_start { get; set; } = "01 05 00 06 FF 00 6C 3B";// "01 05 00 08 FF 00 0D F8";
        /// <summary>
        /// 果糖泵3 关
        /// </summary>
        public string GT3_end { get; set; } = "01 05 00 06 00 00 2D CB";//"01 05 00 08 00 00 4C 08";
        /// <summary>
        /// 机器人远程开机 开
        /// </summary>
        public string RobotPowerOn_start { get; set; } = "01 05 00 07 FF 00 3D FB";// "01 05 00 00 FF 00 8C 3A ";
        /// <summary>
        /// 机器人远程开机 关
        /// </summary>
        public string RobotPowerOn_end { get; set; } = "01 05 00 07 00 00 7C 0B";//"01 05 00 00 00 00 CD CA ";
        /// <summary>
        /// 推杆上升2开
        /// </summary>
        public string PushRod2_UP_start { get; set; } = "01 05 00 08 FF 00 0D F8";
        /// <summary>
        /// 推杆上升2关
        /// </summary>
        public string PushRod2_UP_end { get; set; } = "01 05 00 08 00 00 4C 08";
        /// <summary>
        /// 推杆下降2开
        /// </summary>
        public string PushRod2_Down_start { get; set; } = "01 05 00 09 FF 00 5C 38";
        /// <summary>
        /// 推杆下降2关
        /// </summary>
        public string PushRod2_Down_end { get; set; } = "01 05 00 09 00 00 1D C8";
        /// <summary>
        /// 落盖 开
        /// </summary>
        public string Drop_Lid_start { get; set; } = "01 05 00 0A FF 00 AC 38";//"01 05 00 04 FF 00 CD FB";
        /// <summary>
        ///落盖 关
        /// </summary>
        public string Drop_Lid_end { get; set; } = "01 05 00 0A 00 00 ED C8";//"01 05 00 04 00 00 8C 0B";
        /// <summary>
        /// 压盖下1 开
        /// </summary>
        public string YGX1_start { get; set; } = "01 05 00 0C FF 00 4C 39";// "01 05 00 1A FF 00 AD FD";
        /// <summary>
        /// 压盖下1 关
        /// </summary>
        public string YGX1_end { get; set; } = "01 05 00 0C 00 00 0D C9";//"01 05 00 1A 00 00 EC 0D";
        /// <summary>
        /// 压盖上1 开
        /// </summary>
        public string YGS1_start { get; set; } = "01 05 00 0D FF 00 1D F9";// "01 05 00 1B FF 00 FC 3D";
        /// <summary>
        /// 压盖上1 关
        /// </summary>
        public string YGS1_end { get; set; } = "01 05 00 0D 00 00 5C 09";//"01 05 00 1B 00 00 BD CD";
        /// <summary>
        /// 压盖中1 开
        /// </summary>
        public string YGZ1_start { get; set; } = "01 05 00 0E FF 00 ED F9";//"01 05 00 1C FF 00 4D FC";
        /// <summary>
        /// 压盖中 关
        /// </summary>
        public string YGZ1_end { get; set; } = "01 05 00 0E 00 00 AC 09";//"01 05 00 1C 00 00 0C 0C";
        /// <summary>
        /// 果糖4 开
        /// </summary>
        public string GT4_start { get; set; } = "01 05 00 10 FF 00 8D FF";// "01 05 00 1E FF 00 EC 3C";
        /// <summary>
        /// 果糖4 关
        /// </summary>
        public string GT4_end { get; set; } = "01 05 00 10 00 00 CC 0F";// "01 05 00 1E 00 00 AD CC";
        /// <summary>
        /// 果糖5 开
        /// </summary>
        public string GT5_start { get; set; } = "01 05 00 11 FF 00 DC 3F";//"01 05 00 1F FF 00 BD FC";
        /// <summary>
        /// 果糖5 关
        /// </summary>
        public string GT5_end { get; set; } = "01 05 00 11 00 00 9D CF";// "01 05 00 1F 00 00 FC 0C";
        /// <summary>
        /// 果糖6 开
        /// </summary>
        public string GT6_start { get; set; } = "01 05 00 12 FF 00 2C 3F";// "01 05 00 20 FF 00 8D F0";
        /// <summary>
        /// 果糖6 关
        /// </summary>
        public string GT6_end { get; set; } = "01 05 00 12 00 00 6D CF";//"01 05 00 20 00 00 CC 00";
        /// <summary>
        /// 负压风机1 开
        /// </summary>
        public string FYFJ1_start { get; set; } = "01 05 00 00 FF 00 8C 3A ";//"01 05 00 13 FF 00 7D FF";//"01 05 00 21 FF 00 DC 30";
        /// <summary>
        /// 负压风机1 关
        /// </summary>
        public string FYFJ1_end { get; set; } = "01 05 00 00 00 00 CD CA ";//"01 05 00 13 00 00 3C 0F";//"01 05 00 21 00 00 9D C0";
        /// <summary>
        /// 负压风机2 开
        /// </summary>
        public string FYFJ2_start { get; set; } = "01 05 00 01 FF 00 DD FA";//"01 05 00 14 FF 00 CC 3E";//"01 05 00 22 FF 00 2C 30";
        /// <summary>
        /// 负压风机2 关
        /// </summary>
        public string FYFJ2_end { get; set; } = "01 05 00 01 00 00 9C 0A";//"01 05 00 14 00 00 8D CE";//"01 05 00 22 00 00 6D C0";
        #endregion
        #region 查询数据

        public string AllMessage { get; set; } = "01 04 00 00 00 32 71 DF";// "02 04 00 00 00 32 71 EC";////"01 04 00 00 00 32 71 DF";

        #endregion
    }
}
